package com.ruoyi.record.service;

import java.util.List;

import com.ruoyi.record.domain.WordGroupList;
import com.ruoyi.record.domain.WordTestRecord;

/**
 * 单词测试记录Service接口
 * 
 * @author ruoyi
 * @date 2025-07-02
 */
public interface IWordTestRecordService 
{
    /**
     * 查询单词测试记录
     * 
     * @param id 单词测试记录主键
     * @return 单词测试记录
     */
    public WordTestRecord selectWordTestRecordById(Integer id);

    /**
     * 查询单词测试记录列表
     * 
     * @param wordTestRecord 单词测试记录
     * @return 单词测试记录集合
     */
    public List<WordTestRecord> selectWordTestRecordList(WordTestRecord wordTestRecord);

    List<WordTestRecord> selectWordTestRecordListByUser(WordTestRecord wordTestRecord);

    List<WordGroupList> selectRecordGroupList();

    List<WordGroupList> selectCountGroupList();

    List<WordGroupList> selectSchoolGroupList(WordGroupList wordGroupList);

    List<WordGroupList> selectSchoolStudentGroupList(WordGroupList wordGroupList);

    List<WordGroupList> selectSchoolWeekGroupList();

    List<WordGroupList> selectSchoolStudentWeekGroupList();

    List<WordGroupList> selectSchoolMonthGroupList();

    List<WordGroupList> selectSchoolMonthStudentGroupList();

    /**
     * 新增单词测试记录
     * 
     * @param wordTestRecord 单词测试记录
     * @return 结果
     */
    public int insertWordTestRecord(WordTestRecord wordTestRecord);

    /**
     * 修改单词测试记录
     * 
     * @param wordTestRecord 单词测试记录
     * @return 结果
     */
    public int updateWordTestRecord(WordTestRecord wordTestRecord);

    /**
     * 批量删除单词测试记录
     * 
     * @param ids 需要删除的单词测试记录主键集合
     * @return 结果
     */
    public int deleteWordTestRecordByIds(Integer[] ids);

    /**
     * 删除单词测试记录信息
     * 
     * @param id 单词测试记录主键
     * @return 结果
     */
    public int deleteWordTestRecordById(Integer id);

    List<WordTestRecord> selectSeniorRecordList(WordTestRecord wordTestRecord);
}
